<?=$headerHtml?>
        
        <div class="container">
                <h2 class="admintitle">频道管理</h2>
                    <div class="mainbox nomargin">
                        <form method="post" action="index.php">
                            <input type="hidden" value="<?=$ctlName?>" name="c"/>
                            <input type="hidden" value="Add" name="a"/> 
                            <input type="hidden" value="<?=$id?>" name="id"/> 
                            <table class="opt">
                                <tbody><tr>
                                    <th colspan="2">所属APP:</th>
                                </tr>
                                <tr>
                                    <td>
                                        <select name="item[appId]" id="appId" style="width:200px;">
                                            <?
                                            if($appCache){
                                                foreach($appCache as $app ){
                                                    $selCss = $dataInfo['appId'] == $app['id'] ? ' selected' : '';
                                                    echo '<option value="'.$app['id'].'" '.$selCss.'>'.$app['cnName'].'</option>';
                                                }
                                            }
                                            ?>
                                        </select>
                                    </td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <th colspan="2">名称:</th>
                                </tr>
                                <tr>
                                    <td><input type="text" value="<?=$dataInfo['name']?>" name="item[name]" id="name" class="txt"></td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <th colspan="2">路径:</th>
                                </tr>
                                <tr>
                                    <td><input type="text" value="<?=$dataInfo['path']?>" name="item[path]" id="path" class="txt"></td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <th colspan="2">域名:</th>
                                </tr>
                                <tr>
                                    <td><input type="text" value="<?=$dataInfo['domain']?>" name="item[domain]" id="domain" class="txt"></td>
                                    <td></td>
                                </tr>
                                </tbody>
                            </table>
                            <div class="opt"><input type="submit" tabindex="3" class="btn" value=" 提 交 " name="submit"></div>
                        </form>
                    </div>
               
        </div>


    </body>
</html>
